<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.vastcom.model.Users" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>管理员---后台管理系统</title>
    
		<link rel="stylesheet" type="text/css" href="<%=basePath%>css/themes/bootstrap/easyui.css">
	<link rel="stylesheet" type="text/css" href="<%=basePath%>css/themes/icon.css">
		<link rel="stylesheet" href="<%=basePath%>js/jquery.ztree.all.min.js" type="text/css">
     <link rel="stylesheet" href="<%=basePath%>css/zTreeStyle/zTreeStyle.css" type="text/css">
     <script type="text/javascript" src="<%=basePath%>js/jquery.min.js"></script>
  
	<script type="text/javascript" src="<%=basePath%>js/jquery.easyui.min.js"></script>
  <script type="text/javascript" src="<%=basePath%>js/easyui-lang-zh_CN.js"></script>
   	<script type="text/javascript" src="<%=basePath%>js/jquery.ztree.all.min.js"></script>
  <script type="text/javascript" src="<%=basePath%>rbac/js/admin.js"></script>
 <script type="text/javascript">
 var path='<%=path%>';
  adminrole='<%=request.getSession().getAttribute("roleid") %>';
 </script>
  </head>
  
  <body class="easyui-layout">
  <div id="clstabs"
		style="position:relative;width:30px;height:20px;float:right;top:66px;z-index:100000;">
		<a href="javascript:void(0);" style="font-size:20;"
			class="easyui-linkbutton" data-options="plain:true"
			onclick="closealltabs()"><img style="width:20px;height:20px;"
			src="<%=basePath%>css/themes/icons/no.png" /> </a>
	</div>
	
	<div id="euin" data-options="region:'north',border:false" style="height:100px; padding:0px; background-color: #1b7bd8;">
     <div style="width:500px;height:65px;float:left;position:relative;">
		    <table height="65" style=" border:none; border-collapse:collapse" cellpadding="0" cellspacing="0">
                <tr>
               		 <td width="500" height="100"><img src="/img/logo.jpg" style=" border:none"></td>
                </tr>
            </table>
            </div>
            <div style="height:20px;float:right;top:30px;position:relative;">
		<table style=" font-size:12px">
			<tr>
			<%
			Users user=(Users)request.getSession().getAttribute("users");
			
			%>
				<td style=" color:#FFFFFF">欢迎您！</td>
				<td><span id="uid"></span></td>
				
				<td><span id="urname" style=" color:#ffffff"><%=request.getSession().getAttribute("deptname")%>   &nbsp;&nbsp;<%=request.getSession().getAttribute("usersName")%></span></td>
				<td>
				<a style="text-decoration:none" onClick="showChangePass();" href="javascript:void(0);"><span style=" color:#ffffff">【更换密码】</span></a>
				<a style="text-decoration:none" href="rbac/logOut"><span style=" color:#ffffff">【退出】</span></a></td>
			</tr>
		</table>
		</div>

            
		</div>
	</div>
	<div data-options="region:'west',split:true,title:'功能模块'"
		style="width:220px;padding:10px; background:#f6fafb">
		<ul id="usermenus" class="ztree"></ul>

	</div>
	<div data-options="region:'center'">
		<div id="tabs" class="easyui-tabs" fit="true" border=false>
			<!-- 主页展示 ，通过url打开展示页面-->

			

<%-- <div id="index" title="首页" style="overflow:scroll;  padding:0px;position:relative"

				data-options="href:'<%=path%>/admin/adminindex.jsp'">
                
                </div>  --%>

	</div>
    </div>
	<div data-options="region:'south' ,split:false ,border:false"
		style="height:40px; background-color: #1b7bd8;">
		<div align="center" style="padding-top: 15px; font-size:12px; color:#ffffff">
			版权所有 &nbsp;<a  style=" text-decoration:none" href="javascript:void(0);" class="zt"><span style=" color:#ffffff">云南民族大学</span></a>
		</div>
	</div>
   	<div id="changePassDialog" class="easyui-window" closed="true">
		<form id="changePassForm">
			<table>
				<tbody>
					<tr>
						<td>原密码:</td>
						<td>
						<input id="oldpass" name="oldpass" type="password" class="easyui-validatebox" data-options="required:true"></td>
					</tr>
					<tr>
						<td>新密码:</td>
						<td><input id="pwd" name="pwd" type="password" class="easyui-validatebox" data-options="required:true"></td>
					</tr>
					<tr>
						<td>确认密码:</td>
						<td><input id="rpwd" name="rpwd" type="password" class="easyui-validatebox" 
    required="required" validType="equals['#pwd']"></td>
					</tr>
					
				</tbody>
			</table>
		</form>
	</div>
  </body>
</html>
